<?php require_once 'ext/php/lib.php';?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml" xmlns:b="http://www.google.com/2005/gml/b" xmlns:data="http://www.google.com/2005/gml/data" xmlns:expr="http://www.google.com/2005/gml/expr"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">

<title><?php echo Page::fetch_page_content_by_name('title');?></title>

<link href="ext/imgs/favicon.png" rel="icon" type="image/x-icon" />
<link type="text/css" rel="stylesheet" href='ext/css/base.css' />
<link type="text/css" rel="stylesheet" href="ext/css/popup.css" />

<script type="text/javascript" src='ext/js/jquery/jquery.min.js'></script>

</head>
<body id='body' >

<div id="outer-wrapper"><div id="top_bg"><div id="bottom_bg"><div id="wrap3">

<!-- (Content-wrapper Start) -->
<div class="clearfix" id="content-wrapper">

	<?php
	if(Common::check_auth())
		require_once "ext/php/page/$page.php";
	?>
	
</div>
<!-- (Content-wrapper End) -->

<!-- (Footer-wrapper) -->
<div id="footer-wrapper">
<div class="credit">
Copyright  2012 <?php echo Page::fetch_page_content_by_name('title');?>.</a><br>Designed by mGroup.
        </div>
</div>
<!-- (Footer-wrapper End) -->

</div></div></div></div>




</body>

</html>



